package com.ysj.springboot.web.test1.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@Controller
public class HelloWorldController {
  @RequestMapping("/success")
  public String success(Map<String,String> map){
      map.put("hello","你好");
      map.put("hi","嘿");
      return "success";
  }
}
